package br.com.cultbook.dao;

import java.util.List;
import javax.persistence.EntityManager;

public interface ICultBookDAO <T extends Object> {
	public void incluir (EntityManager em, T t);
	public void alterar(EntityManager em, T t);
	public void excluir(EntityManager em, long id);
	public T buscarPorId(EntityManager em, long id);
	public List<T> pesquisar(EntityManager em, final String key);
	public List<T> buscarTodos(EntityManager em);
}
